<?php
	header("Content-type:text/html;charset=utf-8");
	
	$name = $_POST["userName"];
	// $mobile = $_POST["mobile"];
    // $mobileVd = $_POST["mobileVd"];
    $password = $_POST["password"];
    // $repassword = $_POST["repassword"];
    // $realName = $_POST["realName"];
    // $card = $_POST["card"];
	$conn = mysql_connect("localhost","root","root");

	mysql_select_db("dome");
	
	$result = mysql_query("insert into user values('$name','$password')",$conn);
	
	
	if($result){
		echo "1";
	}else{
		echo "0";	
		
	}
// header("Location:land.html")
	mysql_close($conn);
?>